package cn.wolfcode.crm.mapper;

import cn.wolfcode.crm.domain.Dictionary;
import cn.wolfcode.crm.domain.DictionaryItem;
import cn.wolfcode.crm.query.DictionaryItemQueryObject;

import java.util.List;

public interface DictionaryItemMapper {

    int deleteByPrimaryKey(Long id);

    int insert(DictionaryItem dictionaryitem);

    List<Dictionary> selectByPrimaryKey(DictionaryItemQueryObject dictionaryitemqueryobject);

    List<Dictionary> selectAll();

    int updateByPrimaryKey(DictionaryItem dictionaryitem);

    int queryForCount(DictionaryItemQueryObject dictionaryitemqueryobject);

    List<Dictionary> queryForList(DictionaryItemQueryObject dictionaryitemqueryobject);
}
